package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.quest.QueryObject;
import cn.wolfcode.result.PageResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void deleteByPrimaryKey(Long id);

    void insert(Permission record);

    Permission get(Long id);

    List<Permission> selectAll();

    void updateByPrimaryKey(Permission record);

    void reload();

    PageInfo query(QueryObject qo);

    List<String> getExpressionByEmpId(Long id);
}
